﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MyNoteBook
{
    public partial class frmGoTo : Form
    {
        public frmGoTo()
        {
            InitializeComponent();
        }

        /// <summary>
        /// `取消按钮响应程序
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btn取消_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        /// <summary>
        /// 转到按钮响应程序
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btn转到_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
            //this.Tag = this.txtLine.Text;
            this.Close();
        }

        private void toolStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
        {

        }
    }
}

                
            
        
    
